<div class="zs-ibox">
	<table class="zs-data-tab" width="100%">
		<tbody>
			<tr>
				<td class="text" width="10%">起始年份:</td>
				<td class="input">
					<ag-Combobox style="width:160px" dynamic="false" ng-model="start_year" data='year' /> 
				</td>
				<td ng-show="trendType == 'month'">
					<ag-Combobox  style="width:120px" dynamic="false" ng-model="mq" data='month' />
				</td>
				<td ng-show="trendType == 'quarter'">
					<ag-Combobox  style="width:120px" dynamic="false" ng-model="mq" data='quarter' />
				</td>
				<td >
					<ag-Combobox  style="width:120px" dynamic="false" ng-model="yearLength" data='yearLengths' />
				</td>
				<td>
					<input type="button" name="OK"	ng-click="getReport()" value="查询" class="zs-btn">
				</td>
			</tr>
		</tbody>
	</table>
	<div class="zs-itabs" id="listdata">
		<ul class="idTabs">
			<li><a href='#lb' class="selected">列表</a></li>
			<li><a id = "tbChart" href='#tb' >图表</a></li>
		</ul>
    </div>
	<div id="lb" >
		<div ng-style="{'overflow':'auto','height':(Map_H-100)+'px','width':'100%'}">
			<table class="zs-data-tab" ng-style="{'width':(200 + 180 * httpData.TrendReport.data[0].yearHeadText.length)+'px','min-width':(Map_W)+'PX'}">
		        <thead>
					<tr>
						<th class="head" style="width: 200px">污染物</th>
						<th class="head" ng-repeat="yearText in httpData.TrendReport.data[0].yearHeadText" style="width: 180px;">
							<span ng-bind="yearText" ></span>
						</th>
					</tr>
				</thead>
		    </table>
			 <div ng-style="{'height':(Map_H-160) + 'px','overflow-y':'auto','width':(200 + 180 * httpData.TrendReport.data[0].yearHeadText.length)+'px','min-width':(Map_W)+'PX'}">
				<table class="zs-data-tab" style="width:100%">
					<tbody>
						<tr ng-click="showSinglePollChar(curRow)" ng-repeat="curRow in httpData.TrendReport.data[0].report" class="{{ _isDoubleNum($index) ? 'even':'' }}">
							<td class="center" style="width: 200px;">
								<a style="cursor: pointer" ng-bind="curRow['PARMNAME']" ></a>
							</td>
							<td class="center" ng-repeat="yearText in httpData.TrendReport.data[0].yearHeadText" style="width: 180px;">
								<label style="width:79px;display: inline-block;text-align: right;" ng-bind="curRow['P'+yearText]" ></label>
								<label style="width:79px;display: inline-block;text-align: left;padding-left: 4px;color: #808080;" ng-bind="curRow[yearText+'X2X_PRE']" ></label>
			                </td>
						</tr>
					</tbody>
				</table>
				<div ng-show="showSingleChar" style="background-color: #EEEDED; width: 750px;height: 303px;position: absolute;bottom: 21px;right: 0px;">
					<div ng-click="closeSimglePollChar()" style="cursor:pointer; float: right;font-weight: bold;color: #B4AFAF;font-size: 18px;padding-right: 4px;">x</div>
					<div id="float_tb"></div>
				</div>
			</div>
		</div>
	</div>
	<div id="tb" style="overflow-y:auto;display:none; height:{{Map_H-160}}px;">
		
   </div>
</div>